import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
//2.引用创建的vuex模块
import aboutm from "./modules/aboutm.js"
import spotm from "./modules/spotm.js"
import activem from "./modules/activem.js"
import quanm from "./modules/quanm.js"
import hotm from "./modules/hotm.js"
export default new Vuex.Store({

  modules: {
    //3.调用模块
    aboutm,
    spotm,
    activem,
    quanm,
    hotm
  }
})
